Skip to content

Make value field in SecurityRequirement pub#1494

Open
marlonbaeten wants to merge 1 commit into
juhaku:masterfrom
marlonbaeten:patch-1
Open

Make value field in SecurityRequirement pub#1494
marlonbaeten wants to merge 1 commit into
juhaku:masterfrom
marlonbaeten:patch-1

Conversation

@marlonbaeten
Copy link
Copy Markdown

In our project we use the OpenApi data structure to test our implementation corresponds to our documentation. However we cannot acces the the value of SecurityRequirement without serializing the struct.

We propose to make the value field pub.

Copy link
Copy Markdown

@CommanderStorm CommanderStorm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Can you change this to impl Iterator instead or would this not solve the issue at hand for you?
  • Can you add a quick test so that if there are regressions, a test catches this?

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