Skip to content

Commit

Permalink
Merge pull request #8 from openearthplatforminitiative/adding-license…
Browse files Browse the repository at this point in the history
…-information-to-the-api

Added origin and license information
  • Loading branch information
kstigen authored Nov 13, 2023
2 parents 81c0c6f + d481cd7 commit 582cacc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deployment/kubernetes/weather-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ spec:
app: weather-api
spec:
containers:
- image: ghcr.io/openearthplatforminitiative/weather-api:0.0.8
- image: ghcr.io/openearthplatforminitiative/weather-api:0.0.9
name: weather-api
ports:
- containerPort: 8080
env:
- name: API_ROOT_PATH
value: "/weather"
- name: VERSION
value: "0.0.8"
value: "0.0.9"
---
apiVersion: v1
kind: Service
Expand Down
2 changes: 1 addition & 1 deletion weather_api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Settings(BaseSettings):
api_root_path: str = "/"

met_api_url: str = "https://api.met.no/weatherapi"
api_description: str = "This is a RESTful service that provides accurate and up-to-date weather information based on data sourced from api.met.no."
api_description: str = 'This is a RESTful service that provides accurate and up-to-date weather information based on data sourced from <a href="https://api.met.no">https://api.met.no</a>. <br/>The data are freely available for use under a <a href="https://api.met.no/doc/License">Creative Commons license</a>.'


settings = Settings()

0 comments on commit 582cacc

Please sign in to comment.