Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法将 API 版本添加到 Apiary Mock Server?
例如:httpv1 : //private-XXXXX-apiname.apiary-mock.com//mocks/1?school_id=1
v1
是的,在声明 时HOST,您可以为其附加后缀,然后将其作为前缀传播到所有资源:
HOST
FORMAT: 1A HOST: http://api.example.tld/v1/