Re: Define a Contant String Value

2018-05-01 Thread Ron Ratovsky
@googlegroups.com" <swagger-swaggersocket@googlegroups.com> Date: Wednesday, April 18, 2018 at 15:22 To: Swagger <swagger-swaggersocket@googlegroups.com> Subject: Define a Contant String Value In my API I have a set of regex patterns that I use throughout the document for the "p

Define a Contant String Value

2018-04-18 Thread Greg Fox
In my API I have a set of regex patterns that I use throughout the document for the "pattern" field. I want to make some sort of a constant values that I can re-use instead of having a bunch of copies of the same regex pattern. This is for readability and to reduce the locations that have to be