Skip to content

Conversation

@henrikhenrikpersson
Copy link
Contributor

Adds src/middlewares/swagger-middleware.ts, and uses it to remove most dependencies on onecore-types (SystemHealth is still used by health service).

If this looks good I will make a PR in core to use the openapi-fetch client to talk to this service.

Suggestions for a better name than "swaggerMiddleware" are welcome!

@momentiris
Copy link
Contributor

Adds src/middlewares/swagger-middleware.ts, and uses it to remove most dependencies on onecore-types (SystemHealth is still used by health service).

If this looks good I will make a PR in core to use the openapi-fetch client to talk to this service.

Suggestions for a better name than "swaggerMiddleware" are welcome!

swagYoloware?

@henrikhenrikpersson henrikhenrikpersson force-pushed the feat/swagger-middleware branch from 6a7fdd7 to a59eda4 Compare May 6, 2025 07:08
Copy link
Contributor

@momentiris momentiris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@henrikhenrikpersson henrikhenrikpersson merged commit a002cf7 into main May 7, 2025
1 check passed
@henrikhenrikpersson henrikhenrikpersson deleted the feat/swagger-middleware branch May 7, 2025 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants