You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using your api.json provided in the section of Getting Started and I notice that there is an issue with the file.
The user is able to upload the file to the application in the organization but if you try to download the client java code (e.g.:Java RestTemplate Client Generator) you will get an error saying that some POST requests need a body.
ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests', ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests/:guid/accept', ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests/:guid/decline', ERROR: Post Resource Operations have to have a body defined. Resource 'user' Operation 'POST /users/authenticate', ERROR: Post Resource Operations have to have a body defined. Resource 'user' Operation 'POST /users/authenticate_github'
I was able to fix the problem locally by adding the missing fields, in the file above is available the example with those missing fields.
Hi guys,
I was using your api.json provided in the section of Getting Started and I notice that there is an issue with the file.
The user is able to upload the file to the application in the organization but if you try to download the client java code (e.g.:Java RestTemplate Client Generator) you will get an error saying that some POST requests need a body.
ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests', ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests/:guid/accept', ERROR: Post Resource Operations have to have a body defined. Resource 'membership_request' Operation 'POST /membership_requests/:guid/decline', ERROR: Post Resource Operations have to have a body defined. Resource 'user' Operation 'POST /users/authenticate', ERROR: Post Resource Operations have to have a body defined. Resource 'user' Operation 'POST /users/authenticate_github'
I was able to fix the problem locally by adding the missing fields, in the file above is available the example with those missing fields.
api.json -> valid example
The text was updated successfully, but these errors were encountered: