Closed marcofriso closed 4 years ago
I am not completely sure about this one...
In the last commit server
object has been replaced by classification hosts
under resource
and category
elements.
I see also some of the internal links have to be changed as they don't work
Update the specification at to include "Server Element" structure described by OAS 3 format (https://swagger.io/docs/specification/api-host-and-base-path/).
As reported on Swagger website:
In OAS 3.0 a simple server looks like this:
In Api Elements a server should contain a
href
and optionallyhrefVariables
. A simple OAS3 server would map to a server element like this:For more information about the design please check the following link → https://github.com/apiaryio/api-elements/issues/53#issuecomment-444589557
UPDATE → after talk to @tjanc I am going to remove
server
object and introducehosts
classification under "Resource" and "Category"