DINA-Web / agent-specs

Specifications for the Agent Module
MIT License
1 stars 3 forks source link

OpenAPI 3 Schema issues #13

Closed cgendreau closed 4 years ago

cgendreau commented 4 years ago
xuemeigan commented 4 years ago
  1. Added email type and improved sort order string : https://github.com/xuemeigan/agent-specs/commit/4ed77acdd6b47a9ec38d595ac5f52646d89f2198
  2. I think Open API does not provide constant type : https://swagger.io/docs/specification/data-models/data-types/
cgendreau commented 4 years ago

https://github.com/OAI/OpenAPI-Specification/issues/1620 It should be possible to use 'const' in Open API 3.1: see https://github.com/OAI/OpenAPI-Specification/issues/1313

xuemeigan commented 4 years ago

Used enum of 1 for agent type: https://github.com/xuemeigan/agent-specs/commit/05541f919d5c42aa3a04c8e4579e0cd11ebbf6ed

cgendreau commented 4 years ago

Please send a new PR, the previous one is already merged.

cgendreau commented 4 years ago

Fixed by https://github.com/DINA-Web/agent-specs/pull/15