Skip to content

Fix CLI to generate swagger.json compatible with API Management #97

@EliuX

Description

@EliuX

Right now we have can generate a swagger.json running something like

python cli.py gen_swagger_json -f ~/Downloads/swagger.json

but this generated file is not compatible with API Management and we need to make this possible in order to keep there an updated definition of Swagger and allow Azure to generate to corresponding Swagger UI.
Also allowing Azure to understand this definition will allow us to define policies for the API, which applies for the whole application.

TODO:

  • Change the CLI command in order to change the generated swagger.json in a way it can be directly exported to API Management. You will probably need support from colleagues which has already successfully applied this change, like @juanultimate or @fabidick22.
  • Coordinate with DevOps or create another ticket to automate the deployment of this definition in every deployment of the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsecurityFeatures related to authentication and authorization or any sort of security measure.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions