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

Some enhancement #12

Merged
merged 6 commits into from
Nov 23, 2021
Merged

Some enhancement #12

merged 6 commits into from
Nov 23, 2021

Conversation

dvlp123456
Copy link
Contributor

@dvlp123456 dvlp123456 commented Nov 16, 2021

  1. Fix to ensure security of operation object can override top-level security;
  2. Explicitly require to write required: true when define a path parameter in the specification;
  3. Some code optimizations.

…rity; 2. if parameter location is path, the property of required is REQUIRED and its value MUST be true; 3. other small optimizations
lib/mix/oasis.ex Show resolved Hide resolved
lib/mix/oasis/router.ex Outdated Show resolved Hide resolved
test/mix/oasis_test.exs Outdated Show resolved Hide resolved
lib/oasis/spec/parameter.ex Outdated Show resolved Hide resolved
@xinz xinz changed the title 1. individual operation's security can override openapi object's secu… Some enhancement Nov 23, 2021
@xinz xinz merged commit e0244e2 into elixir-oasis:main Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants