-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
bugSomething isn't workingSomething isn't working
Description
tfplugingen-openapi CLI version
v0.3.0
OpenAPI Spec File
{
"openapi": "3.0.3",
"info": {
"title": "API",
"version": "1.0.0"
},
"paths": {
"/a": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/A"
}
}
},
"required": true
},
"responses": {
"201": {
"description": ""
}
}
}
},
"/a/{id}": {
"get": {
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/A"
}
}
},
"description": ""
}
}
},
"delete": {
"responses": {
"204": {
"description": "No response body"
}
}
}
}
},
"components": {
"schemas": {
"A": {
"type": "object",
"properties": {
"a": {
"$ref": "#/components/schemas/A"
},
"b": {
"$ref": "#/components/schemas/B"
}
}
},
"B": {
"type": "object",
"properties": {
"a": {
"$ref": "#/components/schemas/A"
},
"b": {
"$ref": "#/components/schemas/B"
}
}
}
}
}
}Generator Config
provider:
name: foo
resources:
a:
create:
path: /a
method: POST
read:
path: /a/{id}
method: GET
delete:
path: /a/{id}
method: DELETEExpected Behavior
Create the results or display an error message.
Actual Behavior
The tfplugin-openapi process did not exit, but ran continuously and printed error messages.
Additional Information
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
audunmo and kevindashton
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working