-
Notifications
You must be signed in to change notification settings - Fork 16
Bug: Parameters field in the PathItem is ignored #47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Beforepaths:
/get/books/{id}:
parameters:
- name: id
in: path
required: true
description: Book ID
schema:
type: string
format: uuid
get:
operationId: getBookById
responses:
200:
$ref: "#/components/responses/Books" AfterSince paths:
/get/books/{id}:
get:
operationId: getBookById
parameters: // <----- here
- name: id
in: path
required: true
description: Book ID
schema:
type: string
format: uuid
responses:
200:
$ref: "#/components/responses/Books" |
Ref: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operationObject |
#47 (comment) is not wrong, but the implementation just doesn't seem to be faithful. |
Thanks ! |
Steps To Reproduce
https://himenon.github.io/openapi-typescript-code-generator-playground/v0.8.0/index.html?code=PYBwpgdghiCWBcACAzAOgAyuQKFhAZsPNoogG5gBOAzrMBEgIwYYmIAus7ANmEgCIBRALIB5NgBMw1AMaVYITvSRSAtsETVwMtt1gzI1Pm1LRVfRMICSAFWzYjlCjWKkAtIgCulbkgBEABbs7CDwAPRhUmSoMLCo7NLsqBLAqlB4YX4miFKy8op0DIj8YBTcoOYQ7IiCEGSwlPSV7Gwe3r6IgcEg1OFhsfGJyanpEJnZuXIKSkUACo0SnjIzNXUNTZAt2DKpIPSbvWyyAWBph6SkAIKe7AHAlK4XpOwAnuBIwABGAFZgy9mkShgACOngaYAkjye7kQsAkAIuHjMYARIEa4EonGkUOhcJx0I4bws1HY8ggAHMEaYoOZ8dDXu9NKS8JSCU9JvkZkgoDc7pREMjsgAhYDAADWdIZFi%2Bv3%2BBI500KSBF4sswCk3ARQNB4MhVMQHk4PBRbINiB5t3u%2Bo8VgAykKAHLWxAgTyfPTUAKXFqmtogCRQBISb2o9FULHnNlG3h0p5SpAksmstkWvmxi4AEiB%2BH8AGIwjtVHsIAcwsdTlBqGFrpbKFlTXbHennkSE8yKfrXe7YJ7vc3CYzEyz9aRCJQ0uwVIGTWzPP7p8HJyOB8T28nTWOJ1OEmwgVp6EZI6QVRKEQqCspEABxMDVE8InZVTbpmAgPQyQOFMLfajKZfltJ%2B1ILMwBzTp80LYtSwAyswhPLJ7BAQMAkjMJyVvMJPlFMUqwAbzhABfHEkMoGlbyoI8zWRJA4QRPAkCQ24tRBMEgUhDhKE8Gd2WkKYLyKE9ECsfgERg9N4yZJN9U3QMkE8MF4SedClwJUAqE-egrHY5STyFF4tOY-cIEPdMACZ0HQfsQLAvwIN2fYqirPdi0PODsOoLIgA
The current behavior
The parameters field contained in the Path Item Object is ignored.
The expected behavior
Processed in the same as the parameters included in the Operation Object.
The text was updated successfully, but these errors were encountered: