Closed kelvin-thinkbean closed 2 years ago
Hello, this PR fixes the following:
import { OpenAPIV3_1 } from 'openapi-types'
const requestBody: OpenAPIV3_1.RequestBodyObject = {
required: true,
description: 'Login information',
content: {
'application/json': {
schema: {
$ref: '#/components/schemas/LoginInfoSchema',
},
},
},
}
Error:
Note: This checklist isn't meant to show up on the actual Pull Request (PR). It is added here to make you aware of items our maintainers will look for when reviewing your PR. If your PR is missing any of these items it will be rejected! Please delete this message and the following checklist and replace it with your own message as you see fit.
express-openapi: fixing something
) Note: You can use the bin/commit script to automate this.openapi-jsonschema-parameters: Adding examples to the validation keywords (fixes #455)
).