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

fix rendering of provider schema reference in response body #555

Merged
merged 1 commit into from
Sep 6, 2023

Conversation

fmigneault
Copy link
Collaborator

Fixes

  • Fix GET /providers/{provider_id} response using $schema instead of $id to provide its content schema.

relates to #551

@fmigneault fmigneault self-assigned this Sep 6, 2023
@github-actions github-actions bot added ci/doc Issue related to documentation of the package feature/oas Issues related to OpenAPI specifications. process/wps3 Issue related to WPS 3.x (REST-JSON) processes support feature/providers Issue related to providers convertion to WPS-REST processes. labels Sep 6, 2023
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

Merging #555 (c6a351f) into master (a0b3d21) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #555   +/-   ##
=======================================
  Coverage   84.42%   84.43%           
=======================================
  Files          79       79           
  Lines       17633    17637    +4     
  Branches     2674     2674           
=======================================
+ Hits        14886    14891    +5     
  Misses       2019     2019           
+ Partials      728      727    -1     
Files Changed Coverage Δ
weaver/wps_restapi/providers/providers.py 85.50% <100.00%> (+0.32%) ⬆️
weaver/wps_restapi/swagger_definitions.py 99.82% <100.00%> (+<0.01%) ⬆️
weaver/wps_restapi/utils.py 80.89% <100.00%> (+1.12%) ⬆️

@fmigneault fmigneault merged commit f7be768 into master Sep 6, 2023
47 checks passed
@fmigneault fmigneault deleted the fix-provider-schema-ref branch September 6, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/doc Issue related to documentation of the package feature/oas Issues related to OpenAPI specifications. feature/providers Issue related to providers convertion to WPS-REST processes. process/wps3 Issue related to WPS 3.x (REST-JSON) processes support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant