Comments (4)
This should be fixed by #71 (at least according to my manual and integration tests)
from hakunapi.
Thanks. Tested by setting up demo service on a local machine from features.war build from latest code in main (that should have #71 merged). The demo service on a local machine give Open API document that is OK according to Swagger editor, but still one error: Structural error at info.contact.email because by default email address is empty string '' in demo conf.
This is not a bug in Hakunapi, but in configuration of demo application.
When removing api.contact.email from addresses.properties it results in Open API document with info.contact.email to be 'N/A'. Swagger editor complains about this too.
Maybe it would be better to leave an optional info.contact.email element out of Open API output if not set in conf file?
Anyway when setting api.contact.email in conf as a valid formatted email address then demo service returns an Open API document that can be viewed without complaints in Swagger editor too.
from hakunapi.
Maybe instructions in https://github.com/nlsfi/hakunapi/tree/main/examples/finnish_addresses in section "Preparing for production" could ask installers of demo service to set their contact information (including that info.contact.email) to get Open API document that Swagger Editor swallows too...
from hakunapi.
Allowed null/missing contact information to omit the contact element from OpenAPI description altogether in #75. Changed finnish_addresses
example to reflect that and added a note about setting proper contact values in "Preparing for production" section
from hakunapi.
Related Issues (20)
- Change all occurrances of "Powered by hakuna" into ...hakunapi
- Support for containerized deployment and cloud service hosting HOT 6
- Axis order of response coordinates does not follow the requested CRS axis order HOT 4
- date-time type parameters accept UTC timestamps only HOT 6
- Allow source modules to perform CRS transformations
- Fix the name of the link: describedBy -> describedby
- Support for publishing programmable application schemas of feature objects and codelists provided by OGC API Features service HOT 1
- Coordinate reference systems that differ only by axis order do not work HOT 2
- Ensure bbox queries work correctly when bbox spanning the antimeridian
- source-postgis: Add support for Unix Domain Sockets
- Query result parsing fails, but /items still return empty HTTP 200 result HOT 2
- Feature request: Add a generic configurable usage monitor/telemetry for operations GetCollectionItems, GetCollectionItemById
- Add support for Link headers
- Support for GeoPackage data source with documentation and sample code
- Support for Tomcat 10 and Jakarta HOT 2
- Support for Oracle data store
- Add option to configure HTML template external dependencies HOT 1
- Support for PostgreSQL uuid arrays
- HTML output format minor bugs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hakunapi.