Comments (1)
Hi @dacoffey! Thanks for reporting this. The issue is fixed in [email protected]
:
$ npx -y openapicmd call https://petstore3.swagger.io/api/v3/openapi.json -o findPetsByStatus -p status=sold -vi
REQUEST META:
{
"operationId": "findPetsByStatus",
"method": "get",
"url": "https://petstore3.swagger.io/api/v3/pet/findByStatus?status=sold",
"path": "/pet/findByStatus",
"pathParams": {},
"query": {
"status": "sold"
},
"queryString": "status=sold",
"headers": {
"Accept": "application/json, text/plain, */*"
},
"cookies": {}
}
RESPONSE META:
{
"code": 200,
"status": "OK",
"headers": {
"date": "Sat, 27 Jan 2024 10:31:23 GMT",
"content-type": "application/json",
"content-length": "1148",
"connection": "keep-alive",
"access-control-allow-origin": "*",
"access-control-allow-methods": "GET, POST, DELETE, PUT",
"access-control-allow-headers": "Content-Type, api_key, Authorization",
"access-control-expose-headers": "Content-Disposition",
"server": "Jetty(9.4.9.v20180320)"
}
}
RESPONSE BODY:
[
{
"id": 5,
"category": {
"id": 1,
"name": "Dogs"
},
"name": "Dog 2",
"photoUrls": [
"url1",
"url2"
],
"tags": [
{
"id": 1,
"name": "tag2"
},
{
"id": 2,
"name": "tag3"
}
],
"status": "sold"
},
{
"id": 86,
"name": "Special_char_owner_!@#$^&()`.testing",
"photoUrls": [
"https://petstore3.swagger.io/resources/photos/623389095.jpg"
],
"tags": [],
"status": "sold"
},
{
"id": 867,
"name": "見響见响仮仏!$%&()*+,-ƄƅƆḞḟṀʶʷʸ㥹",
"photoUrls": [
"https://petstore3.swagger.io/resources/photos/623389095.jpg"
],
"tags": [],
"status": "sold"
},
{
"id": 6,
"name": "Special_char_owner_!@#$^&()`.testing",
"photoUrls": [
"https://petstore3.swagger.io/resources/photos/623389095.jpg"
],
"tags": [],
"status": "sold"
},
{
"id": 134674,
"name": "見響见响仮仏!$%&()*+,-ƄƅƆḞḟṀʶʷʸ㥹",
"photoUrls": [
"https://petstore3.swagger.io/resources/photos/623389095.jpg"
],
"tags": [],
"status": "sold"
},
{
"id": 13467,
"name": "見響见响仮仏!$%&()*+,-ƄƅƆḞḟṀʶʷʸ㥹",
"photoUrls": [
"https://petstore3.swagger.io/resources/photos/623389095.jpg"
],
"tags": [],
"status": "sold"
},
{
"id": 2,
"category": {
"id": 2,
"name": "Chaucito"
},
"name": "Gatitotototo",
"photoUrls": [],
"tags": [
{
"id": 1,
"name": "Bizcocho"
}
],
"status": "sold"
}
]
from openapicmd.
Related Issues (10)
- Add swagger-editor command HOT 1
- Remove referenced components after dereferencing HOT 1
- Outdated packages like @oclif/*, cli-ux, koa-proxy, and some more HOT 5
- Package typegen missing from cli HOT 1
- Error while generating types
- read --strip openapi_client_axios should preserve responses HOT 1
- Add RapiDoc / RapiPdf
- Add ReDoc
- Add readmeio/api-explorer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openapicmd.