You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently using the specification to generate TypeScript interfaces with openapi-typescript. Unfortunately, I stumbled upon a problem with the specification. It seems that annotations are in fact not of type string[], they are rather an object in application/json Content-Type.
Steps to Reproduce
Genrate the OSS OpenAPI spec with version 5.3.1
Install Conjur OSS with the quickstart (latest Docker image: 1.20.1-4405)
Upload a test policy with an annotation (found on CyberArk Blog):
Summary
I am currently using the specification to generate TypeScript interfaces with openapi-typescript. Unfortunately, I stumbled upon a problem with the specification. It seems that annotations are in fact not of type
string[]
, they are rather an object inapplication/json
Content-Type.Steps to Reproduce
https://localhost:8443/resources/{account}/policy/store-n-fetch
annotations
in the responseExpected Results
An
annotations
field with the correct type.Actual Results
The JSON I get back is:
Version/Tag number
Environment setup
The text was updated successfully, but these errors were encountered: