openapi: '3.2.0' info: title: AppService version: 1.0.0 servers: - url: https://localhost:8080 description: App service deployment. components: schemas: Todo: type: object properties: id: type: string minLength: 1 title: type: string minLength: 1 order: type: integer url: type: string minLength: 1 completed: type: boolean paths: /: get: operationId: getHello responses: '200': description: Hello! content: text/plain: schema: type: string /todos: post: operationId: createTodo requestBody: content: application/json: schema: type: object properties: title: type: string minLength: 1 order: type: integer responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Todo' '400': description: BadRequest content: text/plain: schema: type: string '422': description: UnprocessableEntity content: text/plain: schema: type: string