Closed
Description
Hi @bnasslahsen ,
Please see https://github.com/teq-niq/sample/tree/extending3
In the person schema for worth field am expecting a extension x-Currency with value USD.
I am trying to show using swagger extensions validation constraints that swagger or springdoc might not be showing. This includes even custom constraints.
In springdoc-openapi-webmvc-core\src\main\java\org\springdoc\webmvc\api\OpenApiResource.java I debugged this method - openapiJson()
I can see the extension with correct value in this object
OpenAPI openAPI = this.getOpenApi();
But the extension is missing in the api-docs json. The other extensions are all appearing properly.
Attaching the json txt:
json.txt
Raghu