-
Notifications
You must be signed in to change notification settings - Fork 3
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
3 create swagger api specification for mobility database #4
3 create swagger api specification for mobility database #4
Conversation
docs/DatabaseCatalogAPI.yaml
Outdated
schema: | ||
type: string | ||
enum: | ||
- completely_enclosed | ||
- partially_enclosed | ||
- disjoint | ||
description: > | ||
Specify the filtering method to use with the boundingLatitudes and boundingLongitudes parameters. | ||
* `completely_enclosed` - Get resources that are completely enclosed in the specified bounding box. | ||
* `partially_enclosed` - Get resources that are partially enclosed in the specified bounding box. | ||
* `disjoint` - Get resources that are completely outside the specified bounding box. | ||
example: completely_enclosed | ||
default: completely_enclosed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default
property is part of the schema
properties
schema: | |
type: string | |
enum: | |
- completely_enclosed | |
- partially_enclosed | |
- disjoint | |
description: > | |
Specify the filtering method to use with the boundingLatitudes and boundingLongitudes parameters. | |
* `completely_enclosed` - Get resources that are completely enclosed in the specified bounding box. | |
* `partially_enclosed` - Get resources that are partially enclosed in the specified bounding box. | |
* `disjoint` - Get resources that are completely outside the specified bounding box. | |
example: completely_enclosed | |
default: completely_enclosed | |
schema: | |
type: string | |
enum: | |
- completely_enclosed | |
- partially_enclosed | |
- disjoint | |
default: completely_enclosed | |
description: > | |
Specify the filtering method to use with the boundingLatitudes and boundingLongitudes parameters. | |
* `completely_enclosed` - Get resources that are completely enclosed in the specified bounding box. | |
* `partially_enclosed` - Get resources that are partially enclosed in the specified bounding box. | |
* `disjoint` - Get resources that are completely outside the specified bounding box. | |
example: completely_enclosed |
- As I typed the suggestion on Github, the indentation might not be correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Added the swagger for the mobility database and some code to be able to display it in a Github page.