-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #221 from yrodiere/openapi
Expose openapi spec in prod and staging, expose swagger UI on staging
- Loading branch information
Showing
4 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,11 +150,14 @@ mp.openapi.extensions.smallrye.info.description=Search Quarkus resources | |
mp.openapi.extensions.smallrye.info.contact.email=[email protected] | ||
mp.openapi.extensions.smallrye.info.contact.name=Quarkus team | ||
mp.openapi.extensions.smallrye.info.contact.url=https://github.com/quarkusio/search.quarkus.io | ||
# In prod, we want the openapi spec to be exposed on the main interface | ||
%prod.quarkus.smallrye-openapi.management.enabled=false | ||
%prod.quarkus.smallrye-openapi.path=/api/openapi | ||
|
||
######################## | ||
# Swagger UI | ||
######################## | ||
quarkus.swagger-ui.always-include=true | ||
%staging.quarkus.swagger-ui.always-include=true | ||
quarkus.swagger-ui.title=Quarkus Search API | ||
|
||
######################## | ||
|
@@ -205,6 +208,8 @@ quarkus.helm.values."resources.limits.cpu".paths=(kind == Deployment).spec.templ | |
quarkus.helm.values."resources.requests.cpu".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.cpu | ||
quarkus.helm.values."resources.limits.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.limits.memory | ||
quarkus.helm.values."resources.requests.memory".paths=(kind == Deployment).spec.template.spec.containers.resources.requests.memory | ||
# Quarkus profile (overridden for staging, see src/main/helm) | ||
quarkus.openshift.env.vars.QUARKUS_PROFILE=prod | ||
# Indexing settings (overridden for staging, see src/main/helm) | ||
quarkus.openshift.env.vars.INDEXING_QUEUE_COUNT=${INDEXING_QUEUE_COUNT} | ||
quarkus.openshift.env.vars.INDEXING_BULK_SIZE=${INDEXING_BULK_SIZE} | ||
|