We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use openapi 3.0.0 + go 1.15.6
openapi: 3.0.0 info: version: "1.0.0" title: some api tags: - name: customers paths: /customers: post: tags: - customers summary: create a customer requestBody: description: Customer to add required: true content: application/json: schema: $ref: "#/components/schemas/Customer" responses: 201: content: application/json: schema: $ref: "#/components/schemas/NewRecord" schemas: Customer: type: object properties: uuid: type: string nullable: false format: uuid readOnly: true username: type: string maxLength: 255 nullable: false minLength: 1 example: th3g3ntl3men phone: type: string maxLength: 255 minLength: 1 nullable: true email: type: string maxLength: 255 minLength: 1 nullable: true dob: type: string format: date pic: type: string maxLength: 255 minLength: 1 created_ts: type: string format: date-time readOnly: true updated_ts: type: string format: date-time readOnly: true
I do also use format:uuid in shared parameters.
format:uuid
The text was updated successfully, but these errors were encountered:
format: uuid is not defined by the OAS v3. We do provide an easy way to opt-in though:
format: uuid
kin-openapi/openapi3/schema_test.go
Line 25 in f05a913
Sorry, something went wrong.
No branches or pull requests
I am trying to use openapi 3.0.0 + go 1.15.6
I do also use
format:uuid
in shared parameters.The text was updated successfully, but these errors were encountered: