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

Added examples in the Open API definition of the admin API routes #1848

Closed
wants to merge 14 commits into from

Conversation

doublebyte1
Copy link
Contributor

@doublebyte1 doublebyte1 commented Nov 18, 2024

Overview

With these sample payloads, users are able to try the PUT, PATCH and POST requests and change their admin config.

admin-api-put1
admin-api-put2
admin-api-put3
admin-api-put4

Related Issue / discussion

#1847

Additional information

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@doublebyte1 doublebyte1 marked this pull request as draft November 18, 2024 11:27
@doublebyte1 doublebyte1 changed the title Added example for the Open API definition of the PUT admin/config path Added examples in the Open API definition of the admin API routes Nov 20, 2024
@doublebyte1 doublebyte1 marked this pull request as ready for review November 20, 2024 20:13
@tomkralidis tomkralidis added OpenAPI OpenAPI enhancement New feature or request labels Nov 21, 2024
@tomkralidis tomkralidis added this to the 0.19.0 milestone Nov 21, 2024
pygeoapi/openapi.py Outdated Show resolved Hide resolved
@doublebyte1
Copy link
Contributor Author

@tomkralidis I fixed the build errors

@doublebyte1 doublebyte1 marked this pull request as draft December 14, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request OpenAPI OpenAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants