-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Issue 623] Update contact info on openapi (#653)
[Issue 623] Update contact info on openapi --------- Co-authored-by: nava-platform-bot <[email protected]>
- Loading branch information
1 parent
e5f3625
commit d81f3bc
Showing
3 changed files
with
13 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ info: | |
title: Simpler Grants API | ||
description: Back end API for simpler.grants.gov | ||
contact: | ||
name: Nava PBC Engineering | ||
url: https://www.navapbc.com | ||
email: [email protected] | ||
name: Simpler Grants.gov | ||
url: https://simpler.grants.gov/ | ||
email: [email protected] | ||
version: 0.1.0 | ||
tags: | ||
- name: Health | ||
|
@@ -111,7 +111,7 @@ paths: | |
$ref: '#/components/schemas/OpportunitySearch' | ||
security: | ||
- ApiKeyAuth: [] | ||
openapi: 3.0.3 | ||
openapi: 3.1.0 | ||
components: | ||
schemas: | ||
ValidationError: | ||
|
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 |
---|---|---|
|
@@ -52,16 +52,18 @@ def configure_app(app: APIFlask) -> None: | |
app.config["BASE_RESPONSE_SCHEMA"] = response_schema.ResponseSchema | ||
|
||
# Set a few values for the Swagger endpoint | ||
app.config["OPENAPI_VERSION"] = "3.0.3" | ||
app.config["OPENAPI_VERSION"] = "3.1.0" | ||
|
||
app.json.compact = False # type: ignore | ||
|
||
# Set various general OpenAPI config values | ||
app.info = { | ||
"title": "Simpler Grants API", | ||
"description": "Back end API for simpler.grants.gov", | ||
"contact": { | ||
"name": "Nava PBC Engineering", | ||
"url": "https://www.navapbc.com", | ||
"email": "[email protected]", | ||
"name": "Simpler Grants.gov", | ||
"url": "https://simpler.grants.gov/", | ||
"email": "[email protected]", | ||
}, | ||
} | ||
|
||
|