OpenAPI specs for a multi module Spring Boot project
I recently started working on a project where we plan to expose some rest API’s with Spring Boot. Our project will have some modules which could have some common models.
How to Handle Undocumented Fields in OpenAPI Schema?
I’m working with an API that uses OpenAPI for its schema documentation. However, there are certain fields in the request body that shouldn’t be visible to all consumers, for example, internalProperty: bool
. These properties are crucial for some internal functionalities but aren’t documented in the public-facing schema.