Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

Adding an OpenAPI spec #41

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from
Open

Adding an OpenAPI spec #41

wants to merge 3 commits into from

Conversation

maheese
Copy link
Contributor

@maheese maheese commented Sep 20, 2019

Here's a simple OpenAPI spec and some sample data to get started. The spec defines one endpoint, emissions with an optional query parameter of year. The response is the annual emissions data by unit, including the unit attributes. This begins to address the download emissions data card on our Kanban board. Fixes #30

@maheese
Copy link
Contributor Author

maheese commented Sep 24, 2019

I made some additional changes to the spec including updating the version to OpenAPI 3.0 and changing the result to a JSON object.

@maheese maheese closed this Sep 24, 2019
@maheese maheese reopened this Sep 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add OpenAPI spec
1 participant