Skip to content
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

Add missing parameters for some POST endpoints #326

Open
ghorkov32 opened this issue Sep 19, 2024 · 2 comments
Open

Add missing parameters for some POST endpoints #326

ghorkov32 opened this issue Sep 19, 2024 · 2 comments

Comments

@ghorkov32
Copy link

Description

When trying to generate code with oapi-codegen we meet with errors like the following:
Screenshot from 2024-09-19 10-35-09

Added the missing parameters on PR #325 to fix this and also keep definitions correct

@Ovid
Copy link

Ovid commented Sep 19, 2024

This is an argument for OpenAI to start using some of these third-party tools to check their OpenAPI spec.

@j-fau
Copy link

j-fau commented Oct 7, 2024

I found also those missing parameters with swagger-editor :
Semantic error at paths./organization/users/{user_id} Declared path parameter "user_id" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object Jump to line 5056 Semantic error at paths./organization/projects/{project_id} Declared path parameter "project_id" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object Jump to line 5242 Semantic error at paths./organization/projects/{project_id}/users/{user_id} Declared path parameter "project_id" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object Jump to line 5461 Semantic error at paths./organization/projects/{project_id}/users/{user_id} Declared path parameter "user_id" needs to be defined within every operation in the path (missing in "post"), or moved to the path-level parameters object Jump to line 5461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants