How to update (or replace) old swagger-node npm module and `swagger project edit` ?

2018-10-01 Thread David Biesack
The npm project swagger-api/swagger-node (version 0.7.5) still depends on "swagger-editor": "^2.9.2" (see also https://github.com/swagger-api/swagger-node/issues/570) but the older swagger-editor has many bugs fixed in swagger-editor 3.6.x Is there

swagger-ui: How to correctly resolve relative links to images from OpenAPI description ?

2018-08-06 Thread David . Biesack
How do I reference a image in my API description so that the image is resolved correctly via Swagger UI? For example: http://www.example.com/swagger-ui/?url=http://www.example.com/apis/v1.0.0/openapi.yaml I want to include an image in a description in openapi.yaml , referencing a image

Re: Swagger UI merges examples when using allOf schema composition. Can I disable this?

2018-01-30 Thread David . Biesack
I submitted https://github.com/swagger-api/swagger-ui/issues/4175 -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com.

Swagger UI merges examples when using allOf schema composition. Can I disable this?

2018-01-23 Thread David . Biesack
It seems the Swagger UI (version: 3.8.1) merges examples when one model schema is composed via allOf. Below is a simple OpenAPI 2.0 spec which shows two model schema, one named 'hal' which includes an example, and a second schema 'model' which uses allOf. The example for the 'model' should stand

Re: defaultModelExpandDepth working in Swagger UI

2018-01-04 Thread David . Biesack
Both are working in 3.8.1. very useful. -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit

Javadoc doclet which understands swager annotations?

2017-12-18 Thread David . Biesack
I'd like to generate Javadoc for models created via OpenAPI 2.0 -> swagger-codegen -l spring so that developers can marshal JSON to Java objects when calling the APIs (naked SDK). Is there a javadoc doclet which can take descriptions of models from swagger annotations and put those into the

defaultModelExpandDepth working in Swagger UI

2017-12-13 Thread david . biesack
I am running 3.6.1 but setting defaultModelExpandDepth: 1 in swagger-ui/dist/swagger-config.yaml (where the web server is pointing to that dist folder) does not appear to have any effect. This is supposed to be the default, but all the models are expanded to several levels, resulting in