Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Improve palveluväylä documentation #1062

Merged
merged 2 commits into from
Dec 15, 2023

Conversation

solita-antti-mottonen
Copy link
Contributor

Generated OpenAPI documentation was incorrect on Accept-Language header, because it was generated based on the parsed form. Fixed by removing automatic coersion and using regular expression instead on validation.

Added a bit of documentation on routes.

Generated OpenAPI documentation was incorrect on Accept-Language header,
because it was generated based on the parsed form. Fixed by removing
automatic coersion and using regular expression instead on validation.

Added a bit of documentation on routes.
@@ -35,14 +53,14 @@
:format "binary"}}}}}}}}]]
["/json"
["/any"
["" {:get {:summary "Hae energiatodistuksia json-muodossa. Palauttaa jaetut kentät sekä 2013, että 2018 lain mukaisista energiatodistuksista"
["" {:get {:summary "Hae energiatodisten perustietoja. Palauttaa tiedot sekä 2013, että 2018 lain mukaisista energiatodistuksista. Tarkemmat tiedot saa hakemalla todistuksen oikean version"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo "energiatodisten"

@solita-antti-mottonen solita-antti-mottonen merged commit d362893 into develop Dec 15, 2023
4 checks passed
@solita-antti-mottonen solita-antti-mottonen deleted the improve-palveluvayla-documentation branch December 15, 2023 12:19
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.

2 participants