--
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-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
{ "title": "Product Schema", "type": "object", "properties": { "latitude": { "type": "string" }, "longtitude": { "type": "string" } }, "required": ["latitude", "longtitude"]
}
Lucas, Swagger uses an extended subset of JSON Schema do describe models. If you describe something outside that scope using JSON Schema, it will not be supported by Swagger.
On Sun, Sep 6, 2015 at 11:08 AM, 刘晓光 <lxg...@gmail.com> wrote:
Dear all,swagger DSL http://editor.swagger.io/#/and json schema DSL are two different DSL https://github.com/swagger-api/swagger-spec/blob/master/schemas/v2.0/schema.jsonour team are using swagger DSL to generate code while as a tester I wan't to use json-schema DSL and json-schema-validator to validate schema of responses. https://github.com/fge/json-schema-validatorThe question is ,how can I map a swagger DSL definition to a json chema DSL definition?Thanks a lot !Lucas
--
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+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggers...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------------------------------------http://swagger.io
https://twitter.com/SwaggerApi
-----------------------------------------
--
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-swaggers...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
-------------------------------------------http://swagger.io
https://twitter.com/SwaggerApi
-----------------------------------------
--
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+unsub...@googlegroups.com.