-
Notifications
You must be signed in to change notification settings - Fork 84
Description
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.