-
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.
Add a slew of metadata to expose in Swagger (#46)
- Loading branch information
1 parent
249d6fa
commit ae8cce0
Showing
1 changed file
with
13 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,19 @@ | |
app.url_map.converters["number"] = IntFloatConverter | ||
CORS(app) | ||
|
||
api = Api(app, version=version, title="WEBPROJ") | ||
api = Api( | ||
app, | ||
version=version, | ||
title="WEBPROJ", | ||
description="## API til koordinattransformationer\n\nAPIet " | ||
"__WEBPROJ__ giver adgang til at transformere " | ||
"multidimensionelle koordinatsæt. \n\nTil adgang " | ||
"benyttes Dataforsyningens brugeradgang som ved andre " | ||
"tjenester.\n\n[Versionshistorik](/webproj.txt)", | ||
terms_url="https://dataforsyningen.dk/Vilkaar", | ||
contact="[email protected]", | ||
license="MIT License", | ||
) | ||
|
||
_DATA = Path(__file__).parent / Path("data.json") | ||
|
||
|