Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI 3.1.0 support: handle cases of missing baseDoc URI #2754

Closed
char0n opened this issue Jan 4, 2023 · 0 comments
Closed

OpenAPI 3.1.0 support: handle cases of missing baseDoc URI #2754

char0n opened this issue Jan 4, 2023 · 0 comments

Comments

@char0n
Copy link
Member

char0n commented Jan 4, 2023

The goal of this issue is to handle cases when baseDoc is not provided as part of resolver options. This can happen if spec object is provided directly to the resolver.

First we need to figure out how OpenAPI 2.0 and OpenAPI 3.0.x resolution strategy behaves when baseDoc is not provided and then this behavior needs to replicated to OpenAPI 3.1.0 resolution strategy.

@char0n char0n self-assigned this Jan 4, 2023
char0n added a commit that referenced this issue Jan 10, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
@char0n char0n closed this as completed Jan 10, 2023
char0n added a commit that referenced this issue Jan 11, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 11, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 11, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 16, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 16, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 17, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 17, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 18, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 18, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 23, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 23, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
char0n added a commit that referenced this issue Jan 23, 2023
Spec object can be provided instead of URL.
If baseDoc or url options are not provided,
default retrival URL is set to http://smartbear.com

Refs #2754
char0n added a commit that referenced this issue Jan 23, 2023
This change is specific to OpenAPI 3.1.0 resolution
strategy.

Refs #2754
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant