I'm using this question here as a guide.
/users: post: summary: Creates a new user. operationId: createUser consumes: - application/json parameters: - in: body name: body description: The user to create. required: true schema: $ref: './schemas/user.yaml' x-google-backend: address: https://us-central1-blablabla.cloudfunctions.net/blabla responses: 201: description: Created
user.yaml:
type: object required: - username - password - repeatPassword - email properties: username: type: string minLength: 3 maxLength: 50 password: type: string minLength: 6 maxLength: 64 repeatPassword: type: string minLength: 6 maxLength: 64 email: type: string minLength: 3 maxLength: 50
Solved! Go to Solution.
As mentioned here, no. Api gateway doesn't implement any logic, OpenAPI is just a way of describing the API.
As mentioned here, no. Api gateway doesn't implement any logic, OpenAPI is just a way of describing the API.