Skip to content

fromTypes - No response body if path ends with a number #339

@Kapsonfire

Description

@Kapsonfire

Probably there are other cases as well

  .get('/test3', (): string => {

        return "hello"
    })
  .get('/test', (): string => {

        return "hello"
    })

First example, the schema.json will omit responses in api.json. Only operationId is set

 "/test3": {
      "get": {
        "operationId": "getTest3"
      }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions