Skip to content

update rest generator to use the openapi.yml/json and swagger.json directly #171

@stevehu

Description

@stevehu

Previously, we need to inject /health and /server/info paths during the code generation. This makes harder to replace the specification file in the config folder once the spec is changed. Now it can be easily replaced as the file should be the same as the input specification.

Also, we should support the openapi.yml as model input and use it in the config folder as specification format. The swagger framework can only use JSON format as it is the limitation of swagger-io libraries.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions