Skip to content
New issue

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

Bump pydantic from 1.5.1 to 1.6.1 #405

Merged
merged 2 commits into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 37 additions & 92 deletions openapi/index_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@
},
"components": {
"schemas": {
"Aggregate": {
"title": "Aggregate",
"enum": [
"ok",
"test",
"staging",
"no"
],
"description": "Enumeration of aggregate values"
},
"Attributes": {
"title": "Attributes",
"type": "object",
Expand Down Expand Up @@ -508,11 +518,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A link that leads to further details about this particular occurrence of the problem."
Expand All @@ -533,11 +539,7 @@
"uniqueItems": true,
"anyOf": [
{
"allOf": [
{
"$ref": "#/components/schemas/Resource"
}
]
"$ref": "#/components/schemas/Resource"
},
{
"type": "array",
Expand Down Expand Up @@ -650,11 +652,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) pointing to the homepage of the implementation."
Expand All @@ -669,11 +667,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) pointing to the implementation source, either downloadable archive or version control system."
Expand Down Expand Up @@ -949,6 +943,16 @@
},
"description": "A link **MUST** be represented as either: a string containing the link's URL or a link object."
},
"LinkType": {
"title": "LinkType",
"enum": [
"child",
"root",
"external",
"providers"
],
"description": "Enumeration of link_type values"
},
"LinksResource": {
"title": "LinksResource",
"required": [
Expand Down Expand Up @@ -1037,11 +1041,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "JSON API links object, pointing to the base URL for this implementation"
Expand All @@ -1056,35 +1056,16 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "JSON API links object, pointing to a homepage URL for this implementation"
},
"link_type": {
"title": "Link Type",
"enum": [
"child",
"root",
"external",
"providers"
],
"description": "The type of the linked relation.\nMUST be one of these values: 'child', 'root', 'external', 'providers'."
"$ref": "#/components/schemas/LinkType"
},
"aggregate": {
"title": "Aggregate",
"enum": [
"ok",
"test",
"staging",
"no"
],
"description": "A string indicating whether a client that is following links to aggregate results from different OPTIMADE implementations should follow this link or not.\nThis flag SHOULD NOT be indicated for links where `link_type` is not `child`.\n\nIf not specified, clients MAY assume that the value is `ok`.\nIf specified, and the value is anything different than `ok`, the client MUST assume that the server is suggesting not to follow the link during aggregation by default (also if the value is not among the known ones, in case a future specification adds new accepted values).\n\nSpecific values indicate the reason why the server is providing the suggestion.\nA client MAY follow the link anyway if it has reason to do so (e.g., if the client is looking for all test databases, it MAY follow the links marked with `aggregate`=`test`).\n\nIf specified, it MUST be one of the values listed in section Link Aggregate Options.",
"default": "ok"
"$ref": "#/components/schemas/Aggregate"
},
"no_aggregate_reason": {
"title": "No Aggregate Reason",
Expand Down Expand Up @@ -1280,11 +1261,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "a [JSON API links object](http://jsonapi.org/format/1.0#document-links) pointing to homepage of the database provider, either directly as a string, or as a link object."
Expand All @@ -1310,11 +1287,7 @@
"uniqueItems": true,
"anyOf": [
{
"allOf": [
{
"$ref": "#/components/schemas/BaseRelationshipResource"
}
]
"$ref": "#/components/schemas/BaseRelationshipResource"
},
{
"type": "array",
Expand Down Expand Up @@ -1370,11 +1343,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A link for the relationship itself (a 'relationship link').\nThis link allows the client to directly manipulate the relationship.\nWhen fetched successfully, this link returns the [linkage](https://jsonapi.org/format/1.0/#document-resource-object-linkage) for the related resources as its primary data.\n(See [Fetching Relationships](https://jsonapi.org/format/1.0/#fetching-relationships).)"
Expand All @@ -1389,11 +1358,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A [related resource link](https://jsonapi.org/format/1.0/#document-resource-object-related-resource-links)."
Expand Down Expand Up @@ -1478,11 +1443,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A link that identifies the resource represented by the resource object."
Expand Down Expand Up @@ -1529,11 +1490,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A [JSON API links object](http://jsonapi.org/format/1.0/#document-links) that points to a schema for the response.\nIf it is a string, or a dictionary containing no `meta` field, the provided URL MUST point at an [OpenAPI](https://swagger.io/specification/) schema.\nIt is possible that future versions of this specification allows for alternative schema types.\nHence, if the `meta` field of the JSON API links object is provided and contains a field `schema_type` that is not equal to the string `OpenAPI` the client MUST not handle failures to parse the schema or to validate the response against the schema as errors."
Expand Down Expand Up @@ -1628,11 +1585,7 @@
"uniqueItems": true,
"anyOf": [
{
"allOf": [
{
"$ref": "#/components/schemas/BaseRelationshipResource"
}
]
"$ref": "#/components/schemas/BaseRelationshipResource"
},
{
"type": "array",
Expand Down Expand Up @@ -1669,11 +1622,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A link to itself"
Expand All @@ -1688,11 +1637,7 @@
"format": "uri"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Link"
}
]
"$ref": "#/components/schemas/Link"
}
],
"description": "A related resource link"
Expand Down
Loading