OpenAPI Specification: Difference between revisions
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
type: string | type: string | ||
'''x-nullable''': '''true''' | '''x-nullable''': '''true''' | ||
When used for an API Gateway import, it errors out as: | |||
Unable to create model for 'LibraryAccount': Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified. Unsupported keyword(s): ["x-nullable"]] |
Revision as of 16:08, 22 March 2019
Internal
Overview
The document addresses both OpenAPI 2.0 and OpenAPI 3.0. The differences will be emphasized.
info
title
When imported in AWS API Gateway, the title provides the API name.
Organizatorium
x-nullable
Appears in automatically generated Swagger files, as such:
definitions: LibraryAccount: type: object required: - name properties: name: type: string x-nullable: true
When used for an API Gateway import, it errors out as:
Unable to create model for 'LibraryAccount': Invalid model specified: Validation Result: warnings : [], errors : [Invalid model schema specified. Unsupported keyword(s): ["x-nullable"]]