Skip to content

Support for Path parameters #1

Description

@stepan-romankov

Could you add support for Path parameters, so that your with_query_string test which looks like
swagger_add_router!( swagger_object, "GET", "/{val1}", SimpleStruct, 200, DESCRIPTION, SimpleStruct );

produces following output in yaml:
"parameters": [ { "name": "val1", "in": "path", "required": true, "schema": <u8>::get_json_schema_definition(), }, ...
"in": "path" instead of "in":"query"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions