issues Search Results · repo:carlansley/swagger2 language:TypeScript
Filter by
18 results
(75 ms)18 results
incarlansley/swagger2 (press backspace or delete to remove)Schema validator is currently created at the module level, which is adding significant time when importing swagger2.
Potentially unnecessarily, if its never used.
carlansley
- Opened on Nov 28, 2022
- #54
carlansley
- Opened on Aug 17, 2022
- #50
I can find it supports loadDocumentSync, which accepts filepath as input . what about adding support for string in case
the doc is aleady in the memory?
e.g. for yamljs it has YAML.parse ans YAML.load ...
qinst64
- Opened on Jun 18, 2020
- #35
I would like to include templated strings for the server, but this doesn t appear to be supported with loadDocumentSync.
Am I missing something, or would it need to be added as a feature?
bag-man
- 1
- Opened on Aug 8, 2019
- #28
In validate.ts / request(), only resolvedParameters are used. I m using requestBody which is ignored:
Here s the definition:
post:
summary: Create a project
tags:
- projects
requestBody:
...
c-dima
- 1
- Opened on Feb 5, 2019
- #26
/report_download: get: description: Report download operationId: report_download produces: - application/zip parameters:
- name: report_id in: query description: report_id is a alphanumeric string to identify ...
smudliyar
- 3
- Opened on Jun 5, 2018
- #24
I m having the following parameter specified in my Swagger spec:
name: X-Test-Version in: header type: string required: true default: 1 When I m validating the request it returns: {
code : SWAGGER_REQUEST_VALIDATION_FAILED ...
mic-kor
- 1
- Opened on May 16, 2018
- #23
Either I am missing something obvious or the request validation method needs to also have the actual path passed in so
that it can be validated.
ie:
function request(compiledPath: CompiledPath | undefined, ...
brad-jones
- 2
- Opened on Oct 24, 2017
- #18
I would like to remove the below error from the Swagger UI by disabling the validation.
{ schemaValidationMessages :[{ level : error , message : Can t read from file http://foobar.net/api-docs }]}
benpingilley
- 1
- Opened on Jul 8, 2017
- #17

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.